package projet_coo;

public abstract class Personnage {
	private int portee=0;
	private int vitalite = 0;
	private int mouvement  = 0;
	private int precision = 0;
	private int soin = 0;
	private boolean soigneur = false;
	private boolean volant = false;
	String nom = null;
	private int limitevitalite;
	
	public String getNom(){return nom;}
	public boolean isSoigneur(){return soigneur;}
	public int getMouvement(){return mouvement;}
	public int getPortee(){return portee;}
	public int getVitalite(){return vitalite;}
	public int getPrecision(){return precision;}
	public void setNom(String s){nom = s;}
	public void setVitalite(int n){vitalite = n;}
	public void setPrecision(int n){precision = n;}
	public void setMouvement(int n){mouvement = n;}
	public void setPortee(int n){portee = n;}
	public void changeSoigneur(){soigneur = !soigneur;}
	public void setSoigneur(boolean b){soigneur = b;}
	public boolean isVolant() {return volant;}
	public void setVolant(boolean volant) {this.volant = volant;}
	public int getSoin() {return soin;}
	public void setSoin(int soin) {this.soin = soin;}
	public int getLimitevitalite() {
		return limitevitalite;
	}
	public void setLimitevitalite(int limitevitalite) {
		this.limitevitalite = limitevitalite;
	}
}
